dojo.addOnLoad(function(){
	
    dojo.xhrGet({
        url: 'startup.php',
        load: function(action){
            if (action == 'ok') 
                initDesktop();
            else 
                system.addApp({
                    containerId: 'content-column',
                    appName: action,
                    appId: action,
                    cssText: 'margin-left:10%;margin-top:10px;'
                });
        },
        error: function(error){
            alert(error)
        }
    })
});

function initDesktop(){
    alert('welcome')
}
